// 广告位类型定义
export interface AdvertPositionItem {
  id: number
  name: string
  title: string
  sizeInfo: string
  status: number
  createdAt: string
  updatedAt: string
  delFlag: number
}

// 广告位列表请求参数
export interface AdvertPositionListParams {
  name?: string
  startTime?: string
  endTime?: string
  pageNum: number
  pageSize: number
}

// 广告位列表返回数据
export interface AdvertPositionListResponse {
  code: number
  message: string
  data: {
    pageNum: number
    pageSize: number
    totalPage: number
    total: number
    list: AdvertPositionItem[]
  }
}

// 广告位详情返回数据
export interface AdvertPositionDetailResponse {
  code: number
  message: string
  data: {
    id: number
    name: string
    title: string
    sizeInfo: string
    status: number
    createdAt: string
    updatedAt: string
  }
}

// 广告位创建/更新请求参数
export interface AdvertPositionCreateOrUpdateParams {
  id?: number
  name: string
  title: string
  sizeInfo: string
  status: number
}